package com.hc.wdj.auth.server.constant;

/** oauth2 常量
 * @author ryanwdj
 * @since 2024/11/17
 */
public class OAuthConstants {

    /**
     * 所有API接口
     */
    public static final class Api {
        public static String authorize = "/oauth2/authorize";
    }

    /**
     * 所有参数名称
     */
    public static final class Param{
        public static String response_type = "response_type";
        public static String client_id = "client_id";
        public static String client_secret = "client_secret";
    }

    /**
     * 所有返回类型
     */
    public static final class ResponseType {
        public static String code = "code";
        public static String token = "token";
    }

    /** 请求没有得到任何有效处理 {msg:"not handle"}*/
    public static final String NOT_HANDLE = "{\"msg\":\"not handle\"}";
}
